﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
		<% if (Model.DetaiOfQuanLyModel.EditModel.Edited){ %>
			alert("An item has been updated!");
		<% } %>
	</script>

    <div class="column2">
        <ul class="list_no_decoration" id="widgetlist_column2">
            <div class="article_width" id="article_content">
                <div class="title">
                    <h1 class="article_title cms_article_title"><span>CẬP NHẬT THÔNG TIN TÀI KHOẢN</span>
		            </h1>
	            </div>
            </div>
        </ul>
        <div style="padding-left:30px;">
            <!--start col home-->
            <table border="0" cellpadding="1" cellspacing="1" width="100%">		
			    <tr>
				    <td valign="top">
				    <table align="center" border="0" cellpadding="1" cellspacing="1" width="100%">
					    <tbody>
					    <tr bgcolor="#ffffff">
					    <td>
					    <% using (Html.BeginForm("CapNhatThongTinTaiKhoan", "Account", FormMethod.Post))
                        { %>
                            <input type="hidden" name="QuanLy_ID" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].BaseInfo.ID %>"/>	
                            <input type="hidden" name="QuanLy_UserName" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].BaseInfo.UserName %>"/>	
						    <table border="0" cellpadding="0" cellspacing="0" width="100%">
							    <tbody>
                                    <tr>
									    <td> </td>
								    </tr>
								    <tr>
									    <td valign="top">
							                <TABLE cellSpacing=1 cellPadding=1 width="98%" align=center border=0>
                                                <TBODY>
												    <TR>
													    <TD align=left colSpan=2 height="10">
                                                        </TD>
                                                    </TR>
                                                    <tr height="26">
													    <td style="width: 124px;" align="right">
														    Email:																	
                                                        </td>
                                                        <td>
													    &nbsp;<input class="input_left" name="QuanLy_Email" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].BaseInfo.Email  %>" style="width: 175px;" type="text">																		
                                                        </td>
												    </tr>
                                                    <tr height="26">
													    <td style="width: 124px;" align="right">
														    Họ tên:																
                                                        </td>
                                                        <td>
													    &nbsp;<input class="input_left" name="QuanLy_HoTen" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].ExtraInfo.HoTen %>" style="width: 175px;" type="text">																		
                                                        </td>
												    </tr>
												    <tr height="26">
													    <td style="width: 124px;" align="right">
														    Giới tính:																	
                                                        </td>
													    <td>
														   <%
                                                                List<SelectListItem> items = new List<SelectListItem>();
                                                                items.Add(new SelectListItem
                                                                {
                                                                    Text = "Nam",
                                                                    Value = "1"
                                                                });
                                                                items.Add(new SelectListItem
                                                                {
                                                                    Text = "Nữ",
                                                                    Value = "0"
                                                                }); %>
																&nbsp;<%= Html.DropDownList("QuanLy_GioiTinh", new SelectList(items, "Value", "Text", Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].ExtraInfo.GioiTinh), new { @class = "input_select" })%>
                                                        </td>
												    </tr>
												    <tr height="26">
													    <td style="width: 124px;" align="right">
													    Địa chỉ:
                                                        </td>
													    <td>
													    &nbsp;<textarea class="input_textarea" name="QuanLy_DiaChi" cols="35" rows="4"><%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].ExtraInfo.DiaChi %></textarea>																		</td>
												    </tr>
												    <tr height="26">
													    <td style="width: 124px;" align="right">
													    Điện thoại:																	
                                                        </td>
													    <td>
													    &nbsp;<input class="input_left" name="QuanLy_Dienthoai" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].ExtraInfo.DienThoai %>" style="width: 175px;" type="text">																		</td>
												    </tr>
												    <tr height="26">
													    <td style="width: 124px;" align="right">
													    Di động:																		
                                                        </td>
													    <td>
													    &nbsp;<input class="input_left" name="QuanLy_DiDong" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].ExtraInfo.DiDong %>" style="width: 175px;" type="text">																		</td>
												    </tr>
												    <tr height="26">
													    <td style="width: 124px;" align="right">
													    Fax:
                                                        </td>
													    <td>
													    &nbsp;<input class="input_left" name="QuanLy_Fax" value="<%= Model.DetaiOfQuanLyModel.GetModel.LstObjModel[0].ExtraInfo.Fax %>" style="width: 175px;" type="text">																		
                                                        </td>
												    </tr>
                                                    <!--
                                                    <tr>
													    <td style="width: 124px;" align="right">
													    Mã xác nhận
                                                        <span style="color: rgb(246, 134, 34);">
													    *</span>
                                                        </td>
													    <td>
													    <label for="captcha"><%= Html.GenerateCaptcha() %></label><br />
                                                        </td>
												    </tr>
                                                    -->
                                                    <tr>
                                                        <td style="width: 124px;" align="right">
															    																		
                                                        </td>
                                                        <td><em><font color="RED">(*)</font>:bắt buộc phải nhập  </em></td>
									          
									                </tr>									
                                                </TBODY>
                                            </TABLE>									  
                                        </td>
                                    </tr>

											        
									    <tr>
									        <td align="center">
									        <input name="Button" class="button_80" value="Cập nhật" type="submit">
								            </td>
									    </tr>
								        </tbody></table>
								    <% } %>							
                                    </td>
						        </tr>
					        </tbody>
                        </table>						 
                    </td>
		        </tr>
            </table>
        </div>
    </div>
</asp:Content>
